Revert "GtkGrid: Add a few NULL checks"
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jul 2015 00:18:34 +0000 (20:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Jul 2015 00:18:34 +0000 (20:18 -0400)
This reverts commit e215db6da21fc7c54f49b247afabc06a18d60513.

We are actually requiring non-NULL out arguments here now.

gtk/gtkgrid.c

index b12af752f52dad7541343816a5d2b1d7489455c7..1b821b22d02daa3894b42fe8027a14853c241aeb 100644 (file)
@@ -1127,11 +1127,8 @@ gtk_grid_request_sum (GtkGridRequest *request,
       nat -= linedata->spacing;
     }
 
-  if (minimum)
-    *minimum = min;
-
-  if (natural)
-    *natural = nat;
+  *minimum = min;
+  *natural = nat;
 }
 
 /* Computes minimum and natural fields of lines.